//
//  MyPlatformViewFactory.m
//  app
//
//  Created by yanjunliang on 2024/12/24.
//

#import "MyPlatformViewFactory.h"
#import "MyPlatformView.h"

@implementation MyPlatformViewFactory

- (instancetype)initWithFrame{
    return self;
}

- (NSObject<IPlatformView>*) getPlatformView:(NSString*) platformViewId {
    //create PlatfformView
    if ([platformViewId isEqualToString:@"PlatformViewTest1"]) {
        NSObject<IPlatformView> * view = [[MyPlatformView alloc] initWithFrame];
        return  view;
    }
    return  nil;
}

@end
